package com.qilu.careprogram.dao;

import com.qilu.careprogram.pojo.entity.UserQuestion;
import com.qilu.careprogram.pojo.vo.QuestionVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserQuestionDAO {
    void insert(UserQuestion userQuestion);

    List<QuestionVO> getUnprocessedQuestion();

    void processQuestion(Long id);

    void deleteQuestion(Long id);

    void update(UserQuestion userQuestion);

    List<QuestionVO> getAllQuestion();
}
